import axios from 'axios'
//import { MessageBox, Message } from 'elementPlus'
//import store from '@/store'
//import { getToken } from '@/utils/auth'


var base_URL ="http://localhost:8081";
// create an axios instance
const request = axios.create({
  baseURL: base_URL, // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
  timeout: 5000 // request timeout
})



export default request
